﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models.Sys;

namespace Hicap.AuthorizationServer.Sys.DTO.AuthObjectRoleRelateds.LTMAutoMapper
{
    /// <summary>
    /// 配置AuthObjectRoleRelated的AutoMapper
    /// </summary>
    internal static class CustomerAuthObjectRoleRelatedMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<AuthObjectRoleRelated, AuthObjectRoleRelatedListDto>();
            configuration.CreateMap<AuthObjectRoleRelatedEditDto, AuthObjectRoleRelated>();
            configuration.CreateMap<AuthObjectRoleRelatedListDto, AuthObjectRoleRelatedEditDto>();
            configuration.CreateMap<AuthObjectRoleRelatedEditDto, AuthObjectRoleRelatedListDto>();
        }
    }
}